import 'package:flutter/material.dart';
import 'package:pixelyear/ui/HomeUI.dart';
import 'package:pixelyear/ui/SplashUI.dart';

class Routes {
  static final Map<String, WidgetBuilder> routes = {
    RoutesString.splash: (context) => SplashUI(),
    RoutesString.home: (context) => HomeUI(),
  };
}

class RoutesString {
  static String splash = 'splash'; //闪屏页
  static String home = 'home'; //闪屏页
}
